#include <stdio.h>
#include <math.h>

int f(int n) {
    if(n < 2) return 0;
    if(n == 2) return 1;
    if(n % 2 == 0) return 0;
    for (int i = 3; i * i <= n; i += 2) {
        if(n % i == 0)
            return 0;
    }
    return 1;
}

int main() {
    int N;
    scanf("%d", &N);

    if(N == 4) {
        printf("4 = 2 + 2");
        return 0;
    }
    for (int p = 3; p <= N / 2; p += 2) {
        if(f(p) && f(N - p)) {
            printf("%d = %d + %d", N, p, N - p);
            break;
        }
    }
    
    return 0;
}
